package gueei.binding.viewAttributes.tabHost;

import android.graphics.drawable.Drawable;
import gueei.binding.ConstantObservable;
import gueei.binding.Observable;
import gueei.binding.observables.IntegerObservable;
import gueei.binding.observables.StringObservable;

import java.util.UUID;

public class Tab {

	public StringObservable  Activity = new StringObservable();
	public IntegerObservable ViewId   = new IntegerObservable();
	public final ConstantObservable<String> Tag;
	public Observable<CharSequence> Label = new Observable<CharSequence>(CharSequence.class);
	public Observable<Drawable>     Icon  = new Observable<Drawable>(Drawable.class);

	public Tab(String tag) {
		Tag = new ConstantObservable<String>(String.class, tag);
	}

	public Tab() {
		this(UUID.randomUUID().toString());
	}
}
